<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        @keyframes move {
            /*开始状态*/
            0% {
                transform: translateX(0px);
            }
            /*结束状态*/
            100% {
                transform: translateX(1000px);
            }
        }

        div{
            width: 200px;
            height: 200px;
            background-color: pink;
            animation-name: move;
            animation-duration: 1s;
        }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>